package com.service;


import com.entity.DinerOrder;
import com.entity.OrderSummary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DinerOrderService {
    /**
     * 展示订单详细信息
     * */
    public List<DinerOrder> getDinerOrderInfo(Integer id);
    /**
     * 查询全部未支付的订单
     * */
    public List<DinerOrder> getDinerOrderInfoStatus();
    /**
     * 添加订单信息
     * */
    public int insertDinrORderInfo(DinerOrder dinerOrder);

    public int UpdateDinerrOrderState(DinerOrder dinerOrder);

    public List<DinerOrder> getDinerOrderThisInfo(Integer id, Integer orderId);
    public List<DinerOrder> getDinerOrderpayInfo();


    public List<DinerOrder> getDinerOrderHistoryInfo(Integer flag,String createBy);

    public List<DinerOrder> getDinerORderInfo(Integer orderId);

    List<OrderSummary> getOrderSummary(String goods_name, String create_time);



}
